﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage_Inicial.Master" AutoEventWireup="true"
    CodeBehind="PaginaInicial.aspx.cs" Inherits="Manager.PaginaInicial" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 125px;
        }
        .style2
        {
            width: 355px;
        }      
        .accordionHeader
        {
            border: 1px solid #2F4F4F;
            color: white;
            background-color: #2E4d7B;
            font-family: Arial, Sans-Serif;
            font-size: 12px;
            font-weight: bold;
            padding: 5px;
            margin-top: 5px;
            cursor: pointer;
        }
        
        .accordionHeaderSelected
        {
            border: 1px solid #2F4F4F;
            color: Black;
            background-image: url('Layout/Layout_Topicos.png');
            Font-Size: Medium; 
            ForeColor: #333333;
            padding: 5px;
            margin-top: 5px;
            cursor: pointer;
        }
        
        .accordionContent
        {
            background-color: #D3DEEF;
            border: 1px dashed #2F4F4F;
            border-top: none;
            padding: 5px;
            padding-top: 10px;
        }
        .accordion
        {}
        .style4
        {
            width: 626px;
        }
        .style5
        {
            width: 879px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div style="height: auto; width: auto; padding-top: 10px; padding-left: 10px">
        <table style="width: 100%">
            <tr>
                <td class="style1">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Layout/Logo_Gerenciador.png" />
                </td>
                <td align="left" valign="top">
                    <div>
                        <asp:Label ID="Label2" runat="server" Text="PMT"></asp:Label>
                    </div>
                    <div>
                        <asp:Label ID="Label1" runat="server" Text="Project Manager Tool" Style="font-size: 30px"></asp:Label>
                    </div>
                    <div>
                        <asp:Label ID="Label4" runat="server" Text="Empresa: " Font-Size="Small"></asp:Label>
                        <asp:Label ID="lbEmpresa" runat="server" Text="EMPRESA" Font-Size="Small"></asp:Label>
                    </div>
                    <div>
                    <%--<asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
                                </asp:Timer>
                                <asp:Label ID="lblTimer" runat="server" Text="Label"></asp:Label>--%>
                        <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
                                </asp:Timer>
                                <asp:ScriptManager ID="ScriptManager2" runat="server">
                                </asp:ScriptManager>
                                <asp:Label ID="lblTimer" runat="server" Text="Label"></asp:Label>
                            </ContentTemplate>
                        </asp:UpdatePanel>--%>
                    </div>
                </td>
            </tr>
        </table>
        <div>
            <div style="margin-top: 15px; margin-right: 15px; height: 26px; background-image: url('Layout/Layout_Topicos.png');
                padding-left: 4px; background-repeat: repeat-x;">
                <table width="100%">
                    <tr>
                        <td class="style5">
                            <asp:Label ID="Label3" runat="server" Font-Size="Medium" ForeColor="#333333" Text="Projetos"></asp:Label>
                        </td>
                        <td align="right" >
                            <%#Eval("projeto.nome")%>
                            
                        </td>
                    </tr>
                </table>
            </div>
            <div style="margin-right: 15px; margin-bottom: 15px; background-color: #FFFFFF; height: auto">
                    <table style="width:100%">
                        <tr>
                            <td class="style4" >
                            
                                
                            
                            </td>
                            <td>
                            <asp:Accordion ID="Accordion1" runat="server" CssClass="accordion" HeaderCssClass="accordionHeader"
                    HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent"
                    Height="217px" Width="300px">
                    <HeaderTemplate>
                        <%#Eval("projeto.nome")%>
                    </HeaderTemplate>
                    <ContentTemplate>
                        <table>
                            <tr>
                                <td>
                                    <asp:Label ID="Label6" runat="server" Text="Cliente:" ForeColor="White"></asp:Label>
                                </td>
                                <td>
                                <%#Eval("cliente.razaoSocial")%>
                                </td>
                            </tr>
                              <tr>
                                <td>
                                    <asp:Label ID="Label7" runat="server" Text="Data Inicio:" ForeColor="White"></asp:Label>
                                </td>
                                <td>
                                <%#DateTime.Parse(Eval("projeto.dataInicio").ToString()).ToString("dd/MM/yyyy")%>
                                </td>
                            </tr>
                              <tr>
                                <td>
                                    <asp:Label ID="Label8" runat="server" Text="Data Fim:" ForeColor="White"></asp:Label>
                                </td>
                                <td>
                                <%#DateTime.Parse(Eval("projeto.dataFim").ToString()).ToString("dd/MM/yyyy")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label9" runat="server" Text="Gerente:" ForeColor="White"></asp:Label>
                                </td>
                                <td>
                                <%#Eval("usuario.nome")%>
                                </td>
                            </tr>
                        </table>
                        
                    </ContentTemplate>
                </asp:Accordion>
                            </td>
                        </tr>
                    </table>

                
            </div>
            <table style="width: 100%">
                <tr>
                    <td class="style2">
                    </td>
                    <td>
                        <div style="margin-top: 15px; margin-right: 15px; height: 26px; background-image: url('Layout/Layout_Topicos.png');
                            padding-left: 4px; background-repeat: repeat-x;">
                            <asp:Label ID="Label5" runat="server" Font-Size="Medium" ForeColor="#333333" Text="Atividades em Andamento"></asp:Label>
                        </div>
                        <div style="margin-right: 15px; margin-bottom: 15px; padding-left: 4px; padding-top: 5px;
                            background-color: #FFFFFF; height: auto">
                            
                        </div>
                    </td>
                </tr>
            </table>
        </div>
</asp:Content>
